enableAntiAliasing

Enable antialiasing on the given graphics object if it was an instance of Graphics2D. Returns the cast Graphics2D as a convenience.